package com.modificial.shiro.system.domain;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author modificial
 * @date 2018/8/4 0004
 * @company modificial_org
 * @description 角色用户关系
 */
@Data
@ToString
@Table(name = "sys_user_role")
public class SysUserRole implements Serializable {
    /**
     * 主键id
     */
    @Id
    private long id;
    /**
     * 用户id
     */
    private  String  userId;
    /**
     * 角色id
     */
    private  String roleId;
}
